﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS_DATABASE_MYSQL.MappingClass.SystemClass
{
    [SugarTable("wms_sysauthority")]

    public class wms_sysauthority
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int key { get; set; }
        [SugarColumn(ColumnDataType = "Nvarchar(64)")]
        public string loginname { get; set; } = "";
        [SugarColumn(ColumnDataType = "Nvarchar(64)")]
        public string password { get; set; } = "";
        [SugarColumn(ColumnDataType = "tinyint(1) unsigned")]
        public byte pwdstrength { get; set; } = 2;
    }
}
